import Layout from '@/layout/index.vue'
export default {
  path: '/base',
  component: Layout,
  redirect: '/users',
  name: 'base',
  meta: { title: '后台管理', icon: 'table' },
  children: [{
    path: 'users',
    name: 'users',
    component: () => import('@/views/base/users/index.vue'),
    meta: { title: '用户', icon: 'chart' }
  },
  {
    path: 'menus',
    name: 'menus',
    component: () => import('@/views/base/menus'),
    meta: { title: '菜单', icon: 'component' }
  },
  {
    path: 'permissions',
    name: 'permissions',
    component: () => import('@/views/base/permissions'),
    meta: { title: '权限', icon: 'clipboard' }
  },
  {
    path: 'logs',
    name: 'logs',
    component: () => import('@/views/base/logs'),
    meta: { title: '日志', icon: 'icon' }
  }
  ]
}
